﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BTicino.BtCommLib.Attributes;
using BTicino.BtCommLib.Domain.Util;

namespace BTicino.BtCommLib.Test
{
    /// <summary>
    /// This class describes a BTicino OPEN frame of status request type.
    /// </summary>
    [MsgType(BTOpenMsgType.RequestStatus)]
    class MyCmdRequestStatus
    {
        [Who, Mapper(typeof(MyWhoMapper))]
        protected string _who;

        [Where, Mapper(typeof(MyWhereMapper))]
        protected string _where; 

        [Dimension, Mapper(typeof(MyDimensionMapper))]
        protected string _dimension; 

        [DimValues, Mapper(typeof(MyDimValuesMapper))]
        protected string[] _dimValues; 

        [Raw]
        protected string _openRawMsg;


        public string Who
        {
            get { return _who; }
            set { _who = value; }
        }

        public string Where
        {
            get { return _where; }
            set { _where = value; }
        }

        public string Dimension
        {
            get { return _dimension; }
            set { _dimension = value; }
        }

        public string[] DimValues
        {
            get { return _dimValues; }
            set { _dimValues = value; }
        }

        public string OpenRawMsg
        {
            get { return _openRawMsg; }
            set { _openRawMsg = value; }
        }
    }
}
